package com.pingan.haofang.searchcloud.monitor.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.Map;

/**
 * 搜索云 状态统计信息
 *
 * @author EX-LIUXIANWEN001
 * @date 2018/10/31
 * @since 1.0.0
 */
@ApiModel("搜索云状态统计信息")
public class SearchcloudStatusInfoDTO {

    /**
     * 项目量
     */
    @ApiModelProperty("项目量")
    private Integer countProject;

    /**
     * 索引量
     */
    @ApiModelProperty("索引量")
    private Integer countIndex;

    /**
     * 索引成功率
     */
    @ApiModelProperty("索引成功率")
    private double indexSuccessRate;

    /**
     * 索引耗时
     */
    @ApiModelProperty("索引耗时")
    private Long indexCostTime;

   /* *//**
     * 5XX数量
     *//*
    @ApiModelProperty("5XX数量")
    private Integer count_5XX = 0;

    *//**
     * 4XX数量
     *//*
    @ApiModelProperty("4XX数量")
    private Integer count_4XX = 0;

    *//**
     * 总请求数量
     *//*
    @ApiModelProperty("总请求数量")
    private Integer total = 0;

    *//**
     * API成功率
     *//*
    @ApiModelProperty("API成功率")
    private double successRate;

    *//**
     * 平响
     *//*
    @ApiModelProperty("平响")
    private double avgResponse;*/

    /**
     * 健康率map
     */
    @ApiModelProperty("健康率map")
    private Map<String, String> mapHealthRate;
    /**
     * 硬盘使用率map
     */
    @ApiModelProperty("硬盘使用率map")
    private Map<String, String> mapDiskOccupancy;

    public Map<String, String> getMapHealthRate() {
        return mapHealthRate;
    }

    public void setMapHealthRate(Map<String, String> mapHealthRate) {
        this.mapHealthRate = mapHealthRate;
    }

    public Map<String, String> getMapDiskOccupancy() {
        return mapDiskOccupancy;
    }

    public void setMapDiskOccupancy(Map<String, String> mapDiskOccupancy) {
        this.mapDiskOccupancy = mapDiskOccupancy;
    }

    public double getIndexSuccessRate() {
        return indexSuccessRate;
    }

    public void setIndexSuccessRate(double indexSuccessRate) {
        this.indexSuccessRate = indexSuccessRate;
    }

    public Long getIndexCostTime() {
        return indexCostTime;
    }

    public void setIndexCostTime(Long indexCostTime) {
        this.indexCostTime = indexCostTime;
    }

    public Integer getCountProject() {
        return countProject;
    }

    public void setCountProject(Integer countProject) {
        this.countProject = countProject;
    }

    public Integer getCountIndex() {
        return countIndex;
    }

    public void setCountIndex(Integer countIndex) {
        this.countIndex = countIndex;
    }
}
